package com.senlingspace.system.domain;

import com.senlingspace.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 订单状态补偿
 *
 * @author lebronjames
 * @date 2024/07/26
 */
public class SlkjOrderStatusCompensation extends BaseEntity {
    /**
     * 主键
     */
    private Long id;

    /**
     * 尝试次数
     */
    private Integer attempts;

    /**
     * 订单编号
     */
    private String orderNumber;

    /**
     * 订单表 ID
     */
    private Long orderId;

    /**
     * 当前状态
     */
    private String status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 拉卡拉支付请求编号
     */
    private String paymentRequestId;

    /**
     * 商户门店 ID
     */
    private Long shopId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getAttempts() {
        return attempts;
    }

    public void setAttempts(Integer attempts) {
        this.attempts = attempts;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getPaymentRequestId() {
        return paymentRequestId;
    }

    public void setPaymentRequestId(String paymentRequestId) {
        this.paymentRequestId = paymentRequestId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    @Override
    public String toString() {
        return "SlkjOrderStatusCompensation{" +
                "id=" + id +
                ", attempts=" + attempts +
                ", orderNumber='" + orderNumber + '\'' +
                ", orderId=" + orderId +
                ", status='" + status + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", paymentRequestId='" + paymentRequestId + '\'' +
                ", shopId=" + shopId +
                '}';
    }
}
